package com.sdsy.constant;


import com.sdsy.util.PageResult;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * Created by yxc on 2018/4/11.
 */

@Configuration
@ConfigurationProperties(prefix = "wallet", ignoreUnknownFields = false)
@PropertySource("classpath:config/config.properties")
@Component
public class Config {

    private String account_path;

    private String password;


    private String smart_contract_address;
    private String apikey;

    private String random;
    private String gasLimit;
    private String gasPrice;


    public String getGasPrice() {
        return gasPrice;
    }

    public void setGasPrice(String gasPrice) {
        this.gasPrice = gasPrice;
    }

    public String getRandom() {
        return random;
    }

    public void setRandom(String random) {
        this.random = random;
    }


    private String address;

    public String getGasLimit() {
        return gasLimit;
    }

    public void setGasLimit(String gasLimit) {
        this.gasLimit = gasLimit;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getApikey() {
        return apikey;
    }

    public void setApikey(String apikey) {
        this.apikey = apikey;
    }

    public String getAccount_path() {
        return account_path;
    }

    public void setAccount_path(String account_path) {
        this.account_path = account_path;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    public String getSmart_contract_address() {
        return smart_contract_address;
    }

    public void setSmart_contract_address(String smart_contract_address) {
        this.smart_contract_address = smart_contract_address;
    }


}
